<%-- <%@page import="com.po.User"%>
<%@page import="com.po.Activity"%>
<%@page import="java.sql.Timestamp"%>
<%@page import="java.util.Date"%>
<%@page import="com.po.User"%> --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<title>我的活动</title>
</head>
<body>
<jsp:include page="/manager/header.jsp"></jsp:include>
	<jsp:include page="/manager/left.jsp" flush="true"></jsp:include>
   <!--right-->
    <div class="centers_mr">
   <%--  <%User user = (User)request.getSession().getAttribute("userN"); %>
      <h1 class="welcom_tm">欢迎您，尊敬的用户     <font><%=user.getUsername() %></font>！当前时间为 <label id="show">显示时间的位置</label></h1>
   --%>  <script type="text/javascript">
//获得当前时间,刻度为一千分一秒
var initializationTime=(new Date()).getTime();
function showLeftTime()
{
var now=new Date();
var year=now.getYear()+1900;
var month=now.getMonth();
var day=now.getDate();
var hours=now.getHours();
var minutes=now.getMinutes();
var seconds=now.getSeconds();
document.getElementById("show").innerHTML=""+year+"年"+month+"月"+day+"日 "+hours+":"+minutes+":"+seconds+"";
//一秒刷新一次显示时间
var timeID=setTimeout(showLeftTime,1000);
}
showLeftTime();
</script><div class="public_m1">
            <div class="public_m2">已结束的活动</div>
            <!--一个订单信息-->
           <div class="public_m5">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr style=" border-bottom:1px solid #000">       
                            <th class="olist1">活动名称</th>       
                            <th class="olist2">活动描述</th>       
                            <th class="olist3">当前人数</th>        
                            <th class="olist4">开始时间</th>        
                            <th class="olist5">结束时间</th>
                            <th class="olist4">活动地点</th>        
                            <th class="olist5">活动负责人</th>
                            <th class="olist5">负责人电话</th>
                        </tr>   
                      <%--   <%
                        Timestamp cutime=new Timestamp(new Date().getTime()) ;
                        System.out.println(cutime);
                        for(int i=0;i<user.getListAct().size();i++){ 
                        Activity act=user.getListAct().get(i);
                        if(act.getEnd_time().compareTo(cutime)<0){
                        %>
                        <tr style="font-family:"微软雅黑";">        
                            <td><%=act.getTitle() %></td>    
                            <td><%=act.getE_desp() %></td> 
                            <td><%=act.getCur_num()%></td>       
                            <td><%=act.getStart_time()%></td>
                            <td><%=act.getEnd_time()%></td>
                            <td><%=act.getLocation() %></td>
                            <td><%=act.getPerson_name() %></td>
                        	<td><%=act.getPerson_phone() %></td>
                        </tr>
                        <%} }%> --%>
                       
                    </tbody>
                </table>
            </div>
         
            <!--查看更多-->
            <div class="chagd_m">
                <a href="http://www.sucaihuo.com/modals/10/1071/demo/#">查看更多</a>
            </div>
        </div>
                                                   
    </div>
  </body>
</html>